package jflowmap.views.flowmap;

import jflowmap.util.Exportable;
import jflowmap.util.box2d.DynamicPlacer;
import edu.umd.cs.piccolo.nodes.PPath;


abstract public class VisualNodeDrawingStrategy extends PPath implements Exportable {
    private static final long serialVersionUID = -8645885172784082789L;
    
    private final VisualNode parent;
    
    protected VisualNodeDrawingStrategy (VisualNode parent) {
        this.parent = parent;
    }
    
    public abstract void showLegend ();
    public abstract void hideLegend ();

    public final VisualNode getVisualNode() {
        return parent;
    }

	public void setPlacer(DynamicPlacer dynamicPlacer) {
		//default: do nothing
	}
	
	@Override
	public String getData() {
		return null;
	}
}
